package net.scribblemedia.candle.model;

import static javax.persistence.CascadeType.MERGE;
import static javax.persistence.CascadeType.PERSIST;

import javax.persistence.ManyToOne;

import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord
public class LayerConfiguration {
	
	@ManyToOne(cascade={PERSIST, MERGE})
	private TrainableNetwork trainableNetwork;
	
	private String activationFunctionClassName;
	private boolean bias;
	private int neuronCount;
}
